Missing the Rails gem. Please `gem install -v=2.3.4 rails`
Posted
by Brian Roisentul
on Stack Overflow
See other posts from Stack Overflow
or by Brian Roisentul
Published on 2010-06-01T18:50:06Z
Indexed on
2010/06/01
18:53 UTC
Read the original article
Hit count: 117
ruby-on-rails
I was trying to fix this error and I ended up with a new one.
I have installed ruby 1.8.6, but using Built-in JRuby 1.4.0 for my app.
Everything was working fine until I updated every gem(as specified by the answer I got from that link) and everything crashed: ever since I tried to start the app I received the following error message:
Missing the Rails 2.3.4 gem. Please
gem install -v=2.3.4 rails
, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.
Then, I tried to uninstall the updates(to v2.3.8, most of them), so the last version is 2.3.4.
In my config/environment.rb file I have this:
RAILS_GEM_VERSION = '2.3.4' unless defined? RAILS_GEM_VERSION
so I guess everything is as I left it before the update.
The question is....why do I keep getting the error and I can't start the app?
© Stack Overflow or respective owner